package com.xintoucloud.pbs.dao.impl;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.xintoucloud.pbs.dao.DmStageDao;
import com.xintoucloud.pbs.entity.DevelopMemberStage;
@Repository@Transactional
public class DmStageDaoImpl implements DmStageDao{
    @Autowired
	private SessionFactory sessionFactory;
	@Override@Transactional(readOnly=true)
	public DevelopMemberStage getOne(Integer dmsid) {
		return sessionFactory.getCurrentSession().get(DevelopMemberStage.class, dmsid);
	}

}
